/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.infor.entity;

import com.jeeplus.modules.infor.entity.Project;
import com.jeeplus.modules.infor.entity.TruckType;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 车辆Entity
 * @author 李超辉
 * @version 2017-11-23
 */
public class Truck extends DataEntity<Truck> {
	
	private static final long serialVersionUID = 1L;
	private Project project;		// 项目
	private TruckType type;		// 车辆类型
	private String truckNumber ;  //车牌号
	private String license;		// 行驶证号
	private String person;		// 车主
	private String card;		// 车主身份证号
	private String expect;		// 期望流向
	private String length;		// 长
	private String width;		// 宽
	private String height;		// 高
	
	public Truck() {
		super();
	}

	public Truck(String id){
		super(id);
	}

	@ExcelField(title="项目", fieldType=Project.class, value="", align=2, sort=1)
	public Project getProject() {
		return project;
	}

	public void setProject(Project project) {
		this.project = project;
	}
	
	@ExcelField(title="车辆类型", fieldType=TruckType.class, value="", align=2, sort=2)
	public TruckType getType() {
		return type;
	}

	public void setType(TruckType type) {
		this.type = type;
	}

	@ExcelField(title="车牌号", align=2, sort=3)
	public String getTruckNumber() {
		return truckNumber;
	}

	public void setTruckNumber(String truckNumber) {
		this.truckNumber = truckNumber;
	}
	@ExcelField(title="行驶证号", align=2, sort=4)
	public String getLicense() {
		return license;
	}

	public void setLicense(String license) {
		this.license = license;
	}
	
	@ExcelField(title="车主", align=2, sort=5)
	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}
	
	@ExcelField(title="车主身份证号", align=2, sort=6)
	public String getCard() {
		return card;
	}

	public void setCard(String card) {
		this.card = card;
	}
	
	@ExcelField(title="期望流向", align=2, sort=7)
	public String getExpect() {
		return expect;
	}

	public void setExpect(String expect) {
		this.expect = expect;
	}
	
	@ExcelField(title="长", align=2, sort=8)
	public String getLength() {
		return length;
	}

	public void setLength(String length) {
		this.length = length;
	}
	
	@ExcelField(title="宽", align=2, sort=9)
	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}
	
	@ExcelField(title="高", align=2, sort=10)
	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}
	
}